package com.action.worksheet;
import java.util.*;

import com.db.worksheet.*;

public class ContentAction {
	private int no;
	private WorkSheetVO vo=new WorkSheetVO();
	
	private WorkSheetDAO sheetDAO;

	
	public void setSheetDAO(WorkSheetDAO sheetDAO) {
		this.sheetDAO = sheetDAO;
	}

	
	public void setVo(WorkSheetVO vo) {
		this.vo = vo;
	}


	public WorkSheetVO getVo() {
		return vo;
	}


	public void setNo(int no) {
		this.no = no;
	}


	public String execute() throws Exception{
		System.out.println(no);
		vo=sheetDAO.Content(no);
		
		return "success";
	}
	
}
